#define  _CRT_SECURE_NO_WARNINGS 1

#include "dequeue.h"

int main()
{
	Que pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);
	printf("queue front:%d\n", QueueFront(&pq));
	printf("queue back:%d\n", QueueBack(&pq));
	printf("queue size:%d\n", QueueSize(&pq));

	while (!QueueEmpty(&pq))
	{
		printf("queue front:%d ", QueueFront(&pq));
		QueuePop(&pq);
	}
	QueueDestroy(&pq);


	return 0;
}